package com.sptpc.qimoxiangmu.repository;

import com.sptpc.qimoxiangmu.model.Type;
import com.sptpc.qimoxiangmu.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface UserRepository extends JpaRepository<User,Long> {
   Optional<User> findByUser(String user);
}
